<!-- head [[-->
<div class="head head_line">
    <div class="box">
        <div class="logo f_l">
            <a href="<?php echo site_url(V_URL.'home');?>"><img src="<?php echo $viewmulu;?>images/logo.jpg"></a>
        </div>
        <div class="out f_r">欢迎您：<em><?php echo $user['user_company'] ?? $user['user_name'];?></em><a href="<?php echo site_url('user/logout');?>">退出登录</a></div>
    </div>
</div>
<!--]] head -->
<!-- user [[-->
<div class="user_info">
    <div class="user_head"><img src="<?php echo $user['avatar'];?>"></div>
    <div class="user_con">
        <em><?php echo $user['user_company'] ?? $user['user_name'];?></em>
        <p><?php echo $user['user_tel'];?></p>
        <span>消息：<?php echo $msg;?></span>
    </div>
    <div class="other_box xsd">
        <?php if($user['user_card_rz'] < 2){ ?>
            <?php if($user['user_card_rz']==1){ ?>
                <p>申请中</p>
                <a href="<?php echo site_url(V_URL.'user/verified');?>">查看认证</a>
            <?php }else{?>
                <p>未开通销售贷</p>
                <a href="<?php echo site_url(V_URL.'user/verified');?>">开通销售贷</a>
            <?php } ?>
        <?php }else{ ?>
            <span><?php echo $user['user_money_real'];?></span>
            <p>销售贷可用余额</p>
            <a href="<?php echo site_url(V_URL.'user/user_loan_bill');?>">销售贷账单</a>
        <?php } ?>

    </div>
    <div class="other_box dd">
        <span><?php echo $orders_count;?></span>
        <p>我的订单</p>
    </div>
</div>